﻿using ProTrack.Entity;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace ProTrack.IServices.Examine
{
   public interface IQcProjectServices
    { 
        public Task<IEnumerable<QcProject>> GetAllAsync();
        public Task<IEnumerable<QcProject>> GetAsync(int PageIndex, int PageSize, string ProjectCode, string ProjectName);
        public Task<int> GetCountAsync(string ProjectCode, string ProjectName);
        public Task<bool> UpdateAsync(QcProject model);
        public Task<bool> AddAsync(QcProject model);
        public Task<bool> DeleteAsync(int[] Ids);
        public Task<bool> DeleteAsync(int Id);
    }
}
